<template>
    <div id="pay">
      <div class="left">
        共计：<span class="miniFont">￥</span><span>881</span><span class="miniFont">.00</span>
      </div>
      <div class="right" @click="goToPay">
        立即支付
      </div>
    </div>
</template>

<script>
    export default {
        name: "Pay",
        data(){
          return{

          }
        },
        methods : {
          goToPay(){
            console.log('去支付页面')
          }
        }
    }
</script>

<style scoped>
  #pay{
    display: flex;
    height: 50px;
    line-height: 50px;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
  }
  .right{
    background: #ef2b67;
    width: 40%;
  }
  .left{
    background: #999999;
    width: 60%;
  }
  .miniFont{
    font-size: 12px;
  }
</style>
